package com.nnxy.mapper;

import com.github.pagehelper.Page;
import com.nnxy.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    Page<Student> findByPage(Integer page, Integer pageSize, String name, Integer degree, Integer id);

    void insert(Student student);

    void deleteById(List<Integer> ids);

    Student findById(Integer id);

    void update(Student student);
}
